package com.luchao.back.common.exception;

public class OrderShoesNullPointException extends RuntimeException {
    private int code;

    public OrderShoesNullPointException() {
    }

    public OrderShoesNullPointException(int code) {
        super("code=" + code);
        this.code = code;
    }

    public OrderShoesNullPointException(String message) {
        super(message);
    }

    public OrderShoesNullPointException(Throwable cause) {
        super(cause);
    }

    public OrderShoesNullPointException(String message, Throwable cause) {
        super(message, cause);
    }

    public OrderShoesNullPointException(int code, String message) {
        super(message);
        this.code = code;
    }

    public int getCode() {
        return code;
    }

    public void setCode(int code) {
        this.code = code;
    }
}
